package com.jack.design_patterns.creational.builder.non_chain;

/**
 * 具体的建造者：可以建造出魅族手机
 */
public class MeizuBuilder extends AbstractBuilder {

    public MeizuBuilder() {
        phone = new Phone();
    }

    @Override
    void customizeCpu(String cpu) {
        phone.setCpu(cpu);
    }

    @Override
    void customizeDisk(String disk) {
        phone.setDisk(disk);
    }

    @Override
    void customizeMemory(String memory) {
        phone.setMemory(memory);
    }

    @Override
    void customizeCamera(String camera) {
        phone.setCamera(camera);
    }
}
